
PERIOD_M1 = 1 #1 minute. 
PERIOD_M5 = 5 #5 minutes. 
PERIOD_M15 = 15 #15 minutes. 
PERIOD_M30 = 30 #30 minutes. 
PERIOD_H1 = 60 #1 hour. 
PERIOD_H4 = 240 #4 hour. 
PERIOD_D1 = 1440 #Daily. 
PERIOD_W1 = 10080 #Weekly. 
PERIOD_MN1 = 43200 #Monthly. 


init <- function(symbol,period)
{
  
  
}

deinit <- function()
{
  
  
}

start <- function(symbol,period,rates)
{
  
  
}